<html> <SCRIPT LANGUAGE=JAVASCRIPT> // This script came from the Web-Development.Com JavaScript Site // Located at http://www.web-development.com/ // Declare all Local Variables Here Size2 = 42; Pos2 = Size2; Vel2 = 2; Dir2 = 2; Message2="Cool Huh?"; Size2-=Message2.length; function Bouncer(){ Dir2==2 ? Pos2-=Vel2 : Pos2+=Vel2; if (Pos2 < 1){ Dir2=1; Pos2=1; } if (Pos2 > Size2){ Dir2=2; Pos2=Size2; } Space2 = ""; for (count=1; count<Pos2; count++){ Space2+= " "; } document.PANEL2.Bar2.value = Space2 + Message2; setTimeout( 'Bouncer();', 100); } </SCRIPT> </HEAD> <BODY bgcolor=ffffff ONLOAD="Bouncer()"> <center> <font color=000080 size=+2>Bouncing Banner</font> <FORM ACTION=""> <input type="hidden" name="Text2"> </center> <br> <CENTER> <FORM NAME=PANEL2> <INPUT Size=21 Name=Bar2 Value="*********************************************************************************"> </FORM> </CENTER> </body> </html>
1998 Copyright (C) Next Step All Rights Reserved